public class ItemFactory
{
    public static ItemFactory Instacne = new ItemFactory();
    public IItemBeUsed GetItem(int id)
    {
        switch (id)
        {
            case 1001:
                return new RepairGun();
            default:
                return null;
        }
    }
}